package com.pj.common.utils

object CommonUtils {
    inline fun <reified T> findAnnotation(clz:Class<Any>):T?{
        val ann = clz.annotations
        for (a in ann){
            if (a is T){
                return a
            }
        }
        return null
    }
}